import {
	ElButton,
	ElContainer,
	ElAside,
	ElMenu,
	ElSubMenu,
	ElMenuItemGroup,
	ElMenuItem,
	ElForm,
	ElFormItem,
	ElInput,
	ElCheckbox,
	ElPopover,
	ElTag,
	ElCard,
	ElTable,
	ElTableColumn,
	ElPopconfirm,
	ElUpload,
	ElDialog,
	ElPagination,
	ElCascader,
	ElRadioGroup,
	ElRadio,
	ElSelect,
	ElOption,
	ElMessage,
	ElMessageBox
} from 'element-plus'
export default {
	install(app) {
		app.use(ElButton)
			.use(ElContainer)
			.use(ElAside)
			.use(ElMenu)
			.use(ElSubMenu)
			.use(ElMenuItemGroup)
			.use(ElMenuItem)
			.use(ElForm)
			.use(ElFormItem)
			.use(ElCheckbox)
			.use(ElInput)
			.use(ElPopover)
			.use(ElTag)
			.use(ElCard)
			.use(ElTable)
			.use(ElTableColumn)
			.use(ElPopconfirm)
			.use(ElUpload)
			.use(ElDialog)
			.use(ElPagination)
			.use(ElCascader)
			.use(ElRadioGroup)
			.use(ElRadio)
			.use(ElSelect)
			.use(ElOption)
			.use(ElMessage)
			.use(ElMessageBox)
		app.prototype.$msgbox = ElMessageBox;
		app.prototype.$alert = ElMessageBox.alert;
		app.prototype.$confirm = ElMessageBox.confirm;
		app.prototype.$prompt = ElMessageBox.prompt;
		app.prototype.$notify = Notification;
		app.prototype.$message = ElMessage;
	},
};
